﻿<UserControl x:Class="Utils.Wpf.MultiStateLabel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >

	<UserControl.Resources>
		<Storyboard x:Key="BlinkAnimation" >
			<DoubleAnimation From="1.0" To="0.0" AutoReverse="True" Duration="00:00:01" RepeatBehavior="Forever" Storyboard.TargetName="TextBlock" Storyboard.TargetProperty="Opacity" />
			<DoubleAnimation From="1.0" To="0.0" AutoReverse="True" Duration="00:00:01" RepeatBehavior="Forever" Storyboard.TargetName="Border" Storyboard.TargetProperty="Background.Opacity" />
		</Storyboard>
	</UserControl.Resources>
	
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		
		<Border Grid.Row="0" BorderThickness="2" BorderBrush="DarkGray" Background="Gray" x:Name="Border" >
			<TextBlock Text="Not Set" Background="Gray" Foreground="White" x:Name="TextBlock" Margin="3,0,3,0" />
		</Border>
	</Grid>
</UserControl>
